/*
 * @Author: your name
 * @Date: 2022-01-10 11:51:08
 * @LastEditTime: 2022-01-19 08:58:52
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \创作平台\admin\src\router\route\index.js
 */
import { lazy } from "react";
/*
一级路由
*/
export const Layout = lazy(() => import(/*webpackChunkName:'layout' */ "../../layout/index"));
export const Login = lazy(() => import(/*webpackChunkName:'Login' */ "../../pages/login"));
export const Register = lazy(() => import(/*webpackChunkName:'Register' */ "../../pages/register"));
/*
详情和新增页面
*/
export const ArticleDetail = lazy(() => import(/*webpackChunkName:'ArticleDetail' */ "../../pages/detail/article"));
export const PageDetail = lazy(() => import(/*webpackChunkName:'PageDetail' */ "../../pages/detail/page"));
export const AddPage = lazy(() => import(/*webpackChunkName:'AddPage' */ "../../pages/newly/page"));
export const AddArticle = lazy(() => import(/*webpackChunkName:'AddArticle' */ "../../pages/newly/article"));
export const Synergy = lazy(() => import(/*webpackChunkName:'AddArticle' */ "../../pages/newly/synergy"));
/*
二级路由
*/
export const Workbench = lazy(() => import(/*webpackChunkName:'Workbench' */ "../../pages/home/workbench"));
export const AllArticle = lazy(() => import(/*webpackChunkName:'Article' */ "../../pages/home/article/AllArticle/index"));
export const CategoryArticle = lazy(() => import(/*webpackChunkName:'CategoryArticle' */ "../../pages/home/article/CategoryArticle/index"));
export const TagArticle = lazy(() => import(/*webpackChunkName:'TagArticle' */ "../../pages/home/article/TagArticle/index"));
export const CommentAdmin = lazy(() => import(/*webpackChunkName:'CommentAdmin' */ "../../pages/home/commentAdmin/index"));
export const EmailAdmin = lazy(() => import(/*webpackChunkName:'EmailAdmin' */ "../../pages/home/emailAdmin/index"));
export const FileAdmin = lazy(() => import(/*webpackChunkName:'FileAdmin' */ "../../pages/home/fileAdmin/index"));
export const Knowledge = lazy(() => import(/*webpackChunkName:'Knowledge' */ "../../pages/home/knowledge/index"));
export const PageAdmin = lazy(() => import(/*webpackChunkName:'PageAdmin' */ "../../pages/home/pageAdmin/index"));
export const PersonCenter = lazy(() => import(/*webpackChunkName:'PersonCenter' */ "../../pages/home/personCenter/index"));
export const PosterAdmin = lazy(() => import(/*webpackChunkName:'PosterAdmin' */ "../../pages/home/posterAdmin/index"));
export const SearchHistory = lazy(() => import(/*webpackChunkName:'SearchHistory' */ "../../pages/home/searchHistory/index"));
export const UserAdmin = lazy(() => import(/*webpackChunkName:'UserAdmin' */ "../../pages/home/userAdmin/index"));
export const VisitStatistics = lazy(() => import(/*webpackChunkName:'VisitStatistics' */ "../../pages/home/visitStatistics/index"));
